import 'package:flutter/material.dart';
import 'package:live_client/views/base/common.dart';

class Mine extends StatefulWidget {
  Mine();

  @override
  _MineState createState() => _MineState();
}

class _MineState extends State<Mine> {
  @override
  Widget build(BuildContext context) {
    var rpx = MediaQuery.of(context).size.width / 750;

    return Scaffold(
      appBar: AppBar(
        shape: RoundedRectangleBorder(
          side: BorderSide.none,
          borderRadius: BorderRadius.only(
            bottomLeft: Radius.circular(10.0),
            bottomRight: Radius.circular(10.0),
          ),
        ),
        leading: Text(""),
        toolbarHeight: GlobalConfig.topBarHeight * rpx,
        title: Text(
          GlobalConfig.mineText,
          style: TextStyle(
            fontSize: GlobalConfig.barTextSize * rpx,
            color: Colors.white,
          ),
        ),
        centerTitle: true,
      ),
      body: Container(
        child: Center(
          child: Text("Mine"),
        ),
      ),
    );
  }
}
